package com.cn.web.menu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cn.menu.MenuDO;
import com.cn.role.RoleMenuDO;
import com.cn.web.menu.vo.MenuVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * description: IMenuMapper <br>
 * date: 21.12.16 11:11 <br>
 * author: cn_yaojin <br>
 * version: 1.0 <br>
 */
@Mapper
public interface IMenuMapper extends BaseMapper<MenuDO> {

    List<MenuVO> listAll();

    List<RoleMenuDO> listByRole(Map<String, Object> pd);

    long update(Object pd);


}
